using System;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using EntLibEC.Biz.Online;
using EntLibEC.Cmn;
using EntLibEC.Biz;

namespace EntLibEC.Shopping.Include
{
	/// <summary>
	///		Summary description for ShowAdv.
	/// </summary>
	public partial class ShowAdv : System.Web.UI.UserControl
	{
		public string AdvFrom;

		protected void Page_Load(object sender, System.EventArgs e)
		{
			// Put user code to initialize the page here
		}

		protected string ShowContent()
		{
			if (AdvFrom == AppConst.StringNull)
				return AppConst.StringNull;
			else
			{
				string filePath = AppConfig.Adv + @"\" + AdvFrom; 
				return OnlineListManager.GetInstance().ReadHtmFile(filePath);
			}			
		}

	}
}
